package com.quartz.monitor4job.service;

import java.util.List;

import com.quartz.monitor4job.model.QuartzLog;

public interface QuartzLogService {
    
    /**
     * 
     * insert(这里用一句话描述这个方法的作用) 
     * @param quartzLog
     * @return
     */
    public void insert(QuartzLog quartzLog);
    
    /**
     * 
     * insert(这里用一句话描述这个方法的作用) 
     * @param jobName
     * @return
     */
    public QuartzLog insert(String jobName);
    
    public QuartzLog find(QuartzLog quartzLog);
    
    /**
     * 
     * update
     * @param quartzLog
     */
    public void update(QuartzLog quartzLog);
    
    public void updateUnStop();
    
    /**
     * 
     * 查询系统编码集合
     * @param quartzLog
     * @return  List<QuartzLog>
     */
    public List<QuartzLog> list(QuartzLog quartzLog);
    
    public void delete(int keepDay);
}